package com.example.demo.dto.process;

public class UpdateAttendanceDto {
    private Integer attendance_id;
    private Integer course_id;
    private  Integer student_id;
    private Integer count;

    public Integer getAttendance_id() {
        return attendance_id;
    }

    public void setAttendance_id(Integer attendance_id) {
        this.attendance_id = attendance_id;
    }

    public Integer getCourse_id() {
        return course_id;
    }

    public void setCourse_id(Integer course_id) {
        this.course_id = course_id;
    }

    public Integer getStudent_id() {
        return student_id;
    }

    public void setStudent_id(Integer student_id) {
        this.student_id = student_id;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String checkOut(){
        if(this.course_id == 0 || this.course_id <= 0){
            return "课程id参数有误";
        }
        if(this.student_id == 0 ||this.student_id < 10000){
            return "学生学号有误";
        }
        return "";
    }
}
